Used with BASS_GetDeviceInfo to retrieve information on a device.
| typedef struct { char *name; char *id; DWORD type; DWORD flags; float minperiod; float defperiod; DWORD mixfreq; DWORD mixchans; } BASS_WASAPI_DEVICEINFO; |
Members
| name | Description of the device. | id | The device's ID. | type | The type of device, which may be one of the following.
|
||||||
| flags | The device's current and input/output status... a combination of these flags.
| minperiod | The minimum update period in seconds. | defperiod | The default update period in seconds. | mixfreq | The sample rate in shared mode. | mixchans | The number of channels in shared mode. |
Remarks
When a device is disabled/disconnected, it is still retained in the device list.
The corresponding BASS (DirectSound) device can be found by its BASS_DEVICEINFO "driver" member matching id.
See also
BASS_WASAPI_GetDeviceInfo